package com.soats.demo8.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.soats.demo8.entity.Crimes;
import com.soats.demo8.response.CrimeYearData;

import java.util.List;

public interface crimesService extends IService<Crimes> {

    List<CrimeYearData> getCrimeDataByYear();

    int addCrimeData(Crimes crimes);
}
